package com.wxyzz.canteenadmin.shop.desk.mapper;

import com.wxyzz.canteenadmin.shop.desk.VO.DeskVO;
import com.wxyzz.canteenadmin.shop.desk.param.DeskAddParam;
import com.wxyzz.canteencommon.entity.shop.desk.Desk;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeskMapper {
    List<DeskVO> page (@Param("deskCode") String deskCode, @Param("status") Integer status);
    Desk selectById (Integer id);
    int delById (Integer id);
    int delBatch (@Param("ids") List<Integer> ids);
    int insert (DeskAddParam deskAddParam);
    int update (Desk desk);
}
